package com.roc.service;

import java.util.List;
import java.util.Map;

import com.roc.bean.ScanCodeAudit;
import com.roc.bean.YYCardBean;
import com.roc.pojo.Operators;
import com.roc.pojo.ScanCodeDictionary;
import com.roc.pojo.TblMchtContact;
import com.roc.pojo.TblMchtInf;
import com.roc.pojo.TblMchtInfSm;

/**
 * 
* @Title: IYYCardService.java 
* @Package com.roc.service 
* @Description: 一一卡 
* @author dk
* @version V1.0
 */
public interface IYYCardService {
		/**
		 * 商品类目菜单
		 * @param stairname
		 * @param moversname
		 * @return
		 */
		public List<Map<String, Object>> categoryFirstType(String stairname,String moversname);
		
		public List<Map<String, Object>> categoryFirstType(String stairname);
		
		public List<Map<String, Object>> categoryFirstType();
		
		public boolean sendMsg(String phone,String realCode)throws ServiceException;
		/**
		 * 查询支付宝/微信是否已开通扫码
		 * @param mchtNo
		 * @return
		 * @throws ServiceException
		 */
		public TblMchtContact findScanCodeExist(String mchtNo)throws ServiceException;
		/**
		 * 发送扫码报文入驻并绑卡
		 * @return
		 * @throws ServiceException
		 */
		public Map<String, Object> sendScanCodeMessage(TblMchtInf tblMchtInf,YYCardBean yyCardBean,Operators op)throws ServiceException;
		
		
		
		/**
		 * 查询商户信息
		 * @param merinfoNo
		 * @return
		 * @throws ServiceException
		 */
		public TblMchtInf queryMerinfoInfoById(String merinfoNo) throws ServiceException;
		
		/**
		 * 查找子级
		 * @param provice
		 * @return
		 * @throws ServiceException
		 */
		public List<ScanCodeDictionary> findDicnationary(String code)throws ServiceException;
		
		public Map<String, Object> openCardAgain(TblMchtInf tblMchtInf,YYCardBean yyCardBean,Operators op,String type)throws ServiceException;
		
		public Map<String,String> getWx(TblMchtInf tblMchtInf)throws ServiceException;
		
		public ScanCodeAudit queryAuditDetail(ScanCodeAudit audit)throws ServiceException;
		
		public Map<String,String> updateAudit(ScanCodeAudit audit,Operators op)throws ServiceException;
		
		public List<TblMchtInfSm> findMerForSma() throws ServiceException;
		
		public int sendScanCodeMessageNewAgain(TblMchtInfSm tblMchtInfSm) throws ServiceException;
}
